package com.zf.yichat.mapper;

import com.zf.yichat.base.FsMapper;
import com.zf.yichat.model.Mission;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MissionMapper extends FsMapper<Mission> {

    void minusHasNum(@Param("missionId") Long missionId);

    void plusHasNum(@Param("missionId") Long missionId);

    void minusCheckNum(@Param("missionId") Long missionId);

    void plusCheckNum(@Param("missionId") Long missionId);

    void plusCompleteNum(@Param("missionId") Long missionId);

    List<Mission> selectList(@Param("userId") Long userId);
}